package com.weeego.web.action;

import com.sql.weeego.bean.base.CenterConfig;
import com.weeego.web.base.BaseAction;
import com.weeego.web.base.Constants;
import java.util.HashMap;
import java.util.Map;

public class AdminIndexAction extends BaseAction {

    public AdminIndexAction() {
        super();
        this.objectForm = new CenterConfig();
    }
    Map msg = new HashMap();

    @Override
    public String action() {
        msg.put("db", Constants.DB_VERSION);
        msg.put("version", Constants.VERSION);

        msg.put("setting", Constants.DEVELOP_SETING);

        msg.put("a1", Constants.ALL_RIGHTS_RESERVED);
        msg.put("a2", Constants.DEVELOPMENT_TEAM);
        msg.put("a3", Constants.DEVELOPMENT_ANDSUPPOR_TEAM);
        msg.put("a4", Constants.ART_DESIGN);
        msg.put("a5", Constants.COMPANY_WEBSITE);
        msg.put("a6", Constants.PRODUCT_WEB);

        return SUCCESS;
    }

    public Map getMsg() {
        return msg;
    }

    public void setMsg(Map msg) {
        this.msg = msg;
    }
}
